#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <QtGui>
#include "gametable.h"
#include "newgamedialog.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT
protected:
    GameTable *gameTable;
    QLabel *timeLabel;
    QTime gameTime;
    QTimer *timer;

    QLabel *player1;
    QLabel *player2;

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();


public slots:
    void saveTable();
    void loadTable();
    void newTable();
    void showHelp();

    void timerTick();
    void pauseClicked();

    void updateLabels();

    void fullTableEvent();
};

#endif // MAINWINDOW_H
